<template>
  <div id="Forinlogin">
    <div class="Forintext">
      <div class="Forinbot">
        <p @click="regClick">去注册</p>
        <p @click="loginClick">去登陆</p>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  data: () => ({}),
  methods: {
    regClick () {
      this.$router.push('/reg')
    },
    loginClick () {
      this.$router.push('/login')
    }
  }
}
</script>
<style lang="scss" scoped>
#Forinlogin {
  position: fixed;
  top: 177px;
  left: 50%;
  margin-left: -40vw;
  z-index: 999;
  border-radius: 10vw;
}
.Forintext {
  width: 70vw;
  height: 50vw;
  position: relative;
  background-image: url('../../static/images/bilibili.png');
  background-repeat: no-repeat;
  background-size: 100% 100%;
  border-radius: 10vw;
  .Forinbot {
    display: flex;
    justify-content: space-around;
    position: absolute;
    width: 70vw;
    bottom: 0;
    p {
      background-color: red;
      width: 30vw;
      height: 10vw;
      text-align: center;
      line-height: 10vw;
      background-color: #ccc;
      border-radius: 10vw;
      font-size: 23px;
      color: red;
    }
  }
}
</style>
